/*
 * Copyright 2011 Google Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.google.orkut.orkroid;

import android.app.Activity;
import android.graphics.Bitmap;
import android.os.AsyncTask;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import com.google.orkut.client.api.OrkutAdapter;
import com.google.orkut.client.api.OrkutAdapterException;

public class Orkroid {
	private static OrkutAdapter orkad = null;

        /** Returns the orkut adapter. This method returns the (singleton)
         *  orkut adapter associated with the Orkroid library. This
         *  will be the same one you initialized the library with
         *  when you called {@link #init}. */
        public static OrkutAdapter getOA() { return orkad; }
	
	/** Initializes Orkroid. Call this method to initialize
	 *  the Orkroid library. You must supply your orkut adapter.
	 *  See the documentation for the orkut Client Library
	 *  for more information about how to create an orkut adapter. */
	public static void init(OrkutAdapter o) {
		orkad = o;
	}
}
